package com.pattern.once.proxy.s;

public class TestMain {

    public static void main(String[] args) {
        IGamePlayer iGamePlayer = new GamePlayerImpl();

        iGamePlayer = new GamePlayerProxy(iGamePlayer);

        iGamePlayer.login();
        iGamePlayer.loginOut();
        iGamePlayer.loginOut();

    }

}
